<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <link href="../css/functionHelp.css" rel="stylesheet">
    <title>YEAR</title>
    <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    <meta name="description" content="YEAR(日期) 返回给定日期/时间值或日期字符串的年份。">
</head>
<body dir="ltr" id="ffa5584cf0" class="AppleTopic apd-topic"><a name="ffa5584cf0"></a>
<figure class="topicIcon"><img src="Art/ixicnff.png" alt="" height="32" width="32"></figure>
<h1>YEAR</h1>
<p>YEAR 函数返回给定<a href="ffa8575ca19.html#ffa8575ca19" class="xRef Aside">日期/时间值</a>或<a
        href="ffac26dc144.html#ffac26dc144" class="xRef Aside">日期字符串</a>的年份。</p>
<div class="HIStrings"><p><strong class="Term">YEAR</strong>(<em>日期</em>)</p>
    <div class="HISubString"><p><em class="Term">日期： </em>给定日期/时间值或日期字符串。 </p></div>
</div>
<table data-type="1 column" aria-label="YEAR 函数示例">
    <thead>
    <tr>
        <th scope="col"><p class="TableHead">示例</p></th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td><p>=YEAR(“88/4/6 下午 11:59:22”) 得出 1988。</p>
            <p>=YEAR(NOW()) 得出 2011（只要计算时间是在 2011 年内）。</p></td>
    </tr>
    </tbody>
</table>
<div class="LinkUniversal"><strong>另请参阅</strong><a href="ffa557b613.html#ffa557b613" class="xRef AppleTopic">DAY</a><a
        href="ffa55a9ae5.html#ffa55a9ae5" class="xRef AppleTopic">MONTH</a></div>
</body>
</html>
